/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.i.kotionokyurievna.jewelry.domain.client;

import ua.i.kotionokyurievna.jewelry.domain.person.Person;

/**
 *
 * @author Kateryna_Reznik
 */
public class Client extends Person{
    private int clientId;
    private int reputation;

    public Client() {
    }

    public Client(Person person, int reputation) {
        super(person);
        this.reputation = reputation;
    }

    public Client(int clientId, Person person, int reputation) {
        super(person);
        this.clientId = clientId;
        this.reputation = reputation;
    }

    public int getClientId() {
        return clientId;
    }

    public int getReputation() {
        return reputation;
    }

    public void setReputation(int reputation) {
        this.reputation = reputation;
    }

    @Override
    public String toString() {
        return "Client{" + "clientId=" + clientId + ", reputation=" + 
                reputation + '}';
    }
    
}
